﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RPGProject.LoopSystem
{
    abstract class Loop
    {
        protected LoopManager loopManager;
        private int delay;
        public int Delay
        {
            get { return this.delay; }
            set { this.delay = value; }
        }
        public Loop(LoopManager loopManager, int delay = 0)
        {
            this.loopManager = loopManager;
            this.delay = delay;
        }
        abstract public FuncType RunOnce();
    }
}
